package com.pvdnc.systemdebugger.userauth;

import android.content.Intent;
import android.content.pm.PackageManager;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;

public class AuthMainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_auth_main);
        //PasswordDialog.getInstance().showDialog("caller","test dialog");
        KAService.startSelf();
        boolean hasAppopsPermission= checkCallingOrSelfPermission("android.permission.MANAGE_APP_OPS_MODES")== PackageManager.PERMISSION_GRANTED;
        Log.d("Appops","hasAppopsPermission:"+String.valueOf(hasAppopsPermission));
    }
}
